how to flexible windows use